import 'package:flutter/material.dart';
import 'package:search_people/page/home/subs/person_detail/index.dart';
import 'package:search_people/page/home/subs/person_detail/widgets/history.dart';
import 'package:search_people/page/home/subs/person_detail/widgets/portrait.dart';
import 'package:search_people/page/home/subs/person_detail/widgets/widgets.dart';

class PersonDetailHeader extends StatelessWidget {
  const PersonDetailHeader({Key? key, required this.controller})
      : super(key: key);
  final PersonDetailController controller;
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Column(
        children: [
          BrifeWidget(
            controller: controller,
          ),
          PersonHistoryWidget(
            controller: controller,
          ),
          PersonPortraitWidget(
            controller: controller,
          ),
        ],
      ),
    );
  }
}
